<template>
  <div class="custom-tree-node common_tree-con">
    <div class="title">
      <svg-icon icon-class="ic_leibie1" />
      <span class="active">{{ data[props.label] }}</span>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    data: Object,
    props: Object
  }
};
</script>
<style scoped lang="scss">
@import "@/styles/mixin.scss";
.common_tree-con {
    width: calc(100% - 24px);
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-right: 8px;
    .title {
      @include textEllipsis;
      &.active {
        width: calc(100% - 62px);
      }
    }
    .svg-icon {
      margin-right: 10px;
      font-size: 16px;
    }
    .el-input,
    .el-input__inner {
      height: 100%;
    }
    .icon__wrap {
      height: 26px;
      display: flex;
      align-items: center;
      opacity: 0;
      .icon {
        margin-right: 5px;
      }
    }
  }
</style>
